<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<title></title>
<link rel="stylesheet" href="__ADMIN__/css/pintuer.css">
<link rel="stylesheet" href="__ADMIN__/css/admin.css">
<script src="__ADMIN__/js/jquery.js"></script>
<script src="__ADMIN__/js/pintuer.js"></script>
</head>
<body>
<div class="panel admin-panel">
  <div class="panel-head" id="add"><strong><span class="icon-pencil-square-o"></span>修改管理员信息</strong></div>
  <div class="body-content">
    <form method="post" class="form-x" action="{:url('admin/staff/edi')}" enctype="multipart/form-data">

      <input type="hidden" name="id" value="{$data.id}" />

      <div class="form-group">
        <div class="label">
          <label>管理员姓名：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" value="{$data.name}" name="name" data-validate="required:请输入管理员姓名" />
          <div class="tips"></div>
        </div>
      </div>

      <div class="form-group">
      <div class="label">
        <label>管理员图像：</label>
      </div>
      <div class="field">
        <img src="/{$data.sm_pic}" style="border-radius:50%;" />
      </div>
      </div>

      <div class="form-group">
        <div class="label">
          <label>管理员图像：</label>
        </div>
        <div class="field">
          <input type="file" id="url1" name="pic" class="button bg-blue margin-left" style="width:25%; float:left;border-style:none;background-color: #0ae;"  data-toggle="hover" data-place="right" data-image="" />
          <!--<input type="button" class="button bg-blue margin-left" id="image1" value="+ 浏览上传"  style="float:left;">-->
          <div class="tipss">图片尺寸：200*200</div>
        </div>
      </div>     

      <div class="form-group">
        <div class="label">
          <label>管理员性别：</label>
        </div>
        <div class="field" style="padding-top:8px;">
          男 <input name="sex" value="1" type="radio"
             {eq name="data.sex" value="男"}checked="checked"{/eq}
          />
          女 <input name="sex" value="2" type="radio"
             {eq name="data.sex" value="女"}checked="checked"{/eq}
          />
          保密 <input name="sex" value="0" type="radio"
             {eq name="data.sex" value="保密"}checked="checked"{/eq}
          />
        </div>
      </div>

      <div class="form-group">
        <div class="label">
          <label>管理员手机：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" value="{$data.phone}" name="phone" data-validate="required:请输入管理员手机号码" />
          <div class="tips"></div>
        </div>
      </div>


      <div class="form-group">
        <div class="label">
          <label>管理员邮箱：</label>
        </div>
        <div class="field">
          <input type="email" class="input w50" name="email" value="{$data.email}"  />
          <div class="tips"></div>
        </div>
      </div>

      <div class="form-group">
        <div class="label">
          <label>管理员状态：</label>
        </div>
        <div class="field" style="padding-top:8px;">
          应用 <input name="status" value="1" type="radio"
            {eq name="data.status" value="应用"}checked="checked"{/eq}
          />
          禁用 <input name="status" value="2" type="radio"
            {eq name="data.status" value="禁用"}checked="checked"{/eq}
          />
        </div>
      </div>


      <div class="form-group">
        <div class="label">
          <label>管理员摘要：</label>
        </div>
        <div class="field">
          <textarea class="input" name="staff_desc" style=" height:90px;">{$data.staff_desc}</textarea>
          <div class="tips"></div>
        </div>
      </div>

      <div class="form-group">
        <div class="label">
          <label></label>
        </div>
        <div class="field">
          <button class="button bg-main icon-check-square-o" type="submit"> 提交</button>
        </div>
      </div>
    </form>
  </div>
</div>

</body></html>